import React from 'react';
import ReactDOM from 'react-dom';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';
import 'antd/dist/reset.css';
import './index.css'
import './assets/css/base.scss'

import App from './App';
import reportWebVitals from './reportWebVitals';
import './assets/js/rem'


// const root = ReactDOM.createRoot();
ReactDOM.render(
  <React.StrictMode>
  <ConfigProvider locale={zhCN} theme={{token:{colorPrimary: '#ee0a24'}}}>
    <App />
  </ConfigProvider>
  </React.StrictMode>,
document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
